package cn.kuick.deal.alert.utils;

/**
 * Created by Administrator on 2017/1/18.
 */
public class TypeConversionUtils {
    public static String intToString(int data){
        String str = data + "";
        return str;
    }

    public static int stringToInt(String data){
        int result = Integer.parseInt(data);
        return result;
    }

    public static boolean stringToBool(String data){
        if(data == "true"){
            return true;
        } else {
            return false;
        }
    }
}
